<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>管理系统</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  {:widget_st('layui','css')}
</head>
{:do_action('admin_head')}
<body>
  <div class="layui-form" lay-filter="layuiadmin-form-useradmin" id="layuiadmin-form-useradmin" style="padding: 20px 0 0 0;">
      <?php $form_widget = new \app\common\widget\FormPro();  ?>
      <form class="info_tj" onclick="return false">
        <div style="width: 500px;">
          <input type="hidden" name="id" value="{$res.id}">
          {$form_widget->form_input(['title'=>'模型名','name'=>'name','data'=>$res['name'],'theme'=>2])|raw}
          {$form_widget->form_input(['title'=>'Model','name'=>'model','data'=>$res['model'],'theme'=>2])|raw}
          {$form_widget->form_radio(['title'=>'是否双栏','name'=>'is_two','data'=>$res['is_two'],'parm_data'=>['0'=>'否','1'=>'开启'],'theme'=>2])|raw}

          {$form_widget->form_input(['title'=>'排序','name'=>'sort','data'=>$res['sort'],'theme'=>2])|raw}
          {$form_widget->form_radio(['title'=>'是否使用参数方法','name'=>'is_parm','data'=>$res['is_parm'],'parm_data'=>['0'=>'否','1'=>'开启'],'theme'=>2])|raw}
          {$form_widget->form_radio(['title'=>'状态','name'=>'status','data'=>$res['status'],'parm_data'=>['0'=>'关闭','1'=>'开启'],'theme'=>2])|raw}
        
          <div class="layui-form-item" >
            <div class="layui-input-block">
              <button class="layui-btn layui-btn-sm" onclick="tijiao_data('/admin/category/category_model_edit')"  lay-submit lay-filter="formDemo">立即提交</button>
            </div>
          </div>
        </div>
    </form>
  </div>

  {:widget_st('layui','js')}
  {:widget_st('common','js')} 

  <script>
 layui.use(['form', 'upload'], function(){
    var $ = layui.$
    ,form = layui.form
    ,upload = layui.upload ;

    

    
  })
  </script>
</body>
</html>
{:do_action('admin_js')}